home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3981 < prev    next >
Mailbox/MIME Entity  |  1996-08-06  |  2.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6f 64 | 69 2e 63 6f 6d 21 75 73 |Path: od|i.com!us|
|00000010| 65 6e 65 74 0a 46 72 6f | 6d 3a 20 4b 69 6d 62 65 |enet.Fro|m: Kimbe|
|00000020| 72 6c 65 79 20 42 75 72 | 63 68 65 74 74 20 3c 62 |rley Bur|chett <b|
|00000030| 75 72 63 68 65 74 74 3e | 0a 4e 65 77 73 67 72 6f |urchett>|.Newsgro|
|00000040| 75 70 73 3a 20 63 6f 6d | 70 2e 6c 61 6e 67 2e 63 |ups: com|p.lang.c|
|00000050| 2b 2b 0a 53 75 62 6a 65 | 63 74 3a 20 52 65 3a 20 |++.Subje|ct: Re: |
|00000060| 50 72 6f 66 65 73 73 69 | 6f 6e 61 6c 20 61 64 76 |Professi|onal adv|
|00000070| 69 63 65 20 6e 65 65 64 | 20 62 79 20 61 20 73 75 |ice need| by a su|
|00000080| 64 65 6e 74 0a 44 61 74 | 65 3a 20 32 36 20 4a 61 |dent.Dat|e: 26 Ja|
|00000090| 6e 20 31 39 39 36 20 32 | 32 3a 34 31 3a 34 38 20 |n 1996 2|2:41:48 |
|000000a0| 47 4d 54 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|000000b0| 3a 20 53 6f 66 74 77 61 | 72 65 20 4c 65 76 65 72 |: Softwa|re Lever|
|000000c0| 61 67 65 2c 20 49 6e 63 | 0a 4d 65 73 73 61 67 65 |age, Inc|.Message|
|000000d0| 2d 49 44 3a 20 3c 34 65 | 62 6c 62 63 24 61 33 67 |-ID: <4e|blbc$a3g|
|000000e0| 40 6d 61 73 74 65 72 6d | 69 6e 64 2e 6f 64 69 2e |@masterm|ind.odi.|
|000000f0| 63 6f 6d 3e 0a 52 65 66 | 65 72 65 6e 63 65 73 3a |com>.Ref|erences:|
|00000100| 20 3c 33 31 30 37 42 38 | 44 42 2e 31 35 36 36 40 | <3107B8|DB.1566@|
|00000110| 6e 65 74 76 69 73 69 6f | 6e 2e 6e 65 74 2e 69 6c |netvisio|n.net.il|
|00000120| 3e 0a 4e 4e 54 50 2d 50 | 6f 73 74 69 6e 67 2d 48 |>.NNTP-P|osting-H|
|00000130| 6f 73 74 3a 20 6c 6f 6f | 6e 2e 6f 64 69 2e 63 6f |ost: loo|n.odi.co|
|00000140| 6d 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |m.Mime-V|ersion: |
|00000150| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|00000160| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|00000170| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 43 |arset=us|-ascii.C|
|00000180| 6f 6e 74 65 6e 74 2d 54 | 72 61 6e 73 66 65 72 2d |ontent-T|ransfer-|
|00000190| 45 6e 63 6f 64 69 6e 67 | 3a 20 37 62 69 74 0a 58 |Encoding|: 7bit.X|
|000001a0| 2d 4d 61 69 6c 65 72 3a | 20 4d 6f 7a 69 6c 6c 61 |-Mailer:| Mozilla|
|000001b0| 20 31 2e 31 4e 20 28 58 | 31 31 3b 20 49 3b 20 53 | 1.1N (X|11; I; S|
|000001c0| 75 6e 4f 53 20 34 2e 31 | 2e 33 20 73 75 6e 34 63 |unOS 4.1|.3 sun4c|
|000001d0| 29 0a 54 6f 3a 20 62 72 | 75 63 65 40 6e 65 74 76 |).To: br|uce@netv|
|000001e0| 69 73 69 6f 6e 2e 6e 65 | 74 2e 69 6c 0a 58 2d 55 |ision.ne|t.il.X-U|
|000001f0| 52 4c 3a 20 6e 65 77 73 | 3a 33 31 30 37 42 38 44 |RL: news|:3107B8D|
|00000200| 42 2e 31 35 36 36 40 6e | 65 74 76 69 73 69 6f 6e |B.1566@n|etvision|
|00000210| 2e 6e 65 74 2e 69 6c 0a | 0a 42 72 75 63 65 20 4b |.net.il.|.Bruce K|
|00000220| 6c 61 79 64 6d 61 6e 20 | 3c 62 72 75 63 65 40 6e |laydman |<bruce@n|
|00000230| 65 74 76 69 73 69 6f 6e | 2e 6e 65 74 2e 69 6c 3e |etvision|.net.il>|
|00000240| 20 77 72 6f 74 65 3a 0a | 3e 48 69 2e 0a 3e 49 27 | wrote:.|>Hi..>I'|
|00000250| 6d 20 6e 65 77 20 74 6f | 20 43 2f 43 2b 2b 20 61 |m new to| C/C++ a|
|00000260| 6e 64 20 49 20 64 6f 6e | 27 74 20 6b 6e 6f 77 20 |nd I don|'t know |
|00000270| 69 66 20 49 20 73 68 6f | 75 6c 64 20 73 74 61 72 |if I sho|uld star|
|00000280| 74 20 74 6f 20 6c 65 72 | 6e 20 41 4e 53 49 20 43 |t to ler|n ANSI C|
|00000290| 20 0a 3e 6f 72 20 43 2b | 2b 2e 0a 3e 50 6c 65 61 | .>or C+|+..>Plea|
|000002a0| 73 65 20 74 65 6c 6c 20 | 6d 65 20 77 68 61 74 20 |se tell |me what |
|000002b0| 77 6f 75 6c 64 20 62 65 | 20 61 20 62 65 73 74 20 |would be| a best |
|000002c0| 74 6f 20 73 74 61 72 74 | 20 77 69 74 68 3f 0a 0a |to start| with?..|
|000002d0| 20 20 49 27 76 65 20 6f | 6e 6c 79 20 6c 65 61 72 | I've o|nly lear|
|000002e0| 6e 65 64 20 66 72 6f 6d | 20 62 6f 6f 6b 73 2c 20 |ned from| books, |
|000002f0| 73 6f 20 64 69 73 72 65 | 67 61 72 64 20 6d 79 20 |so disre|gard my |
|00000300| 6f 70 69 6e 69 6f 6e 20 | 69 66 20 79 6f 75 20 77 |opinion |if you w|
|00000310| 61 6e 74 2e 20 20 0a 49 | 27 76 65 20 62 65 65 6e |ant. .I|'ve been|
|00000320| 20 75 73 69 6e 67 20 43 | 2b 2b 20 66 6f 72 20 74 | using C|++ for t|
|00000330| 77 6f 20 79 65 61 72 73 | 2e 0a 0a 20 20 49 66 20 |wo years|... If |
|00000340| 79 6f 75 72 20 71 75 65 | 73 74 69 6f 6e 20 69 73 |your que|stion is|
|00000350| 20 77 68 65 74 68 65 72 | 20 74 6f 20 6c 65 61 72 | whether| to lear|
|00000360| 6e 20 61 20 70 72 6f 63 | 65 64 75 72 61 6c 20 6c |n a proc|edural l|
|00000370| 61 6e 67 75 61 67 65 20 | 28 43 29 20 6f 72 20 0a |anguage |(C) or .|
|00000380| 61 6e 20 4f 4f 20 6c 61 | 6e 67 75 61 67 65 20 28 |an OO la|nguage (|
|00000390| 43 2b 2b 29 2c 20 74 68 | 61 74 20 64 65 70 65 6e |C++), th|at depen|
|000003a0| 64 73 2e 20 20 49 74 27 | 73 20 68 61 72 64 20 74 |ds. It'|s hard t|
|000003b0| 6f 20 6c 65 61 72 6e 20 | 4f 4f 50 20 69 6e 20 43 |o learn |OOP in C|
|000003c0| 2b 2b 20 0a 62 65 63 61 | 75 73 65 20 74 68 65 20 |++ .beca|use the |
|000003d0| 73 79 6e 74 61 78 20 6f | 66 20 43 2b 2b 20 28 49 |syntax o|f C++ (I|
|000003e0| 20 74 68 69 6e 6b 29 20 | 72 65 61 6c 6c 79 20 65 | think) |really e|
|000003f0| 6e 63 6f 75 72 61 67 65 | 73 20 70 72 6f 63 65 64 |ncourage|s proced|
|00000400| 75 72 61 6c 20 0a 70 72 | 6f 67 72 61 6d 6d 69 6e |ural .pr|ogrammin|
|00000410| 67 2e 20 20 53 6f 20 79 | 6f 75 27 6c 6c 20 70 72 |g. So y|ou'll pr|
|00000420| 6f 62 61 62 6c 79 20 65 | 6e 64 20 75 70 20 6c 65 |obably e|nd up le|
|00000430| 61 72 6e 69 6e 67 20 73 | 6f 6d 65 20 6d 69 73 68 |arning s|ome mish|
|00000440| 2d 6d 61 73 68 20 6f 66 | 20 0a 70 72 6f 63 65 64 |-mash of| .proced|
|00000450| 75 72 61 6c 2f 4f 4f 20 | 70 72 6f 67 72 61 6d 6d |ural/OO |programm|
|00000460| 69 6e 67 20 69 6e 73 74 | 65 61 64 20 6f 66 20 6f |ing inst|ead of o|
|00000470| 6e 65 20 6f 72 20 74 68 | 65 20 6f 74 68 65 72 20 |ne or th|e other |
|00000480| 28 77 68 69 63 68 20 69 | 73 20 6e 6f 74 20 0a 6e |(which i|s not .n|
|00000490| 65 63 65 73 73 61 72 69 | 6c 79 20 62 61 64 29 2e |ecessari|ly bad).|
|000004a0| 0a 20 20 41 6c 73 6f 2c | 20 49 20 74 68 69 6e 6b |. Also,| I think|
|000004b0| 20 70 72 6f 63 65 64 75 | 72 61 6c 20 70 72 6f 67 | procedu|ral prog|
|000004c0| 72 61 6d 6d 69 6e 67 20 | 69 73 20 65 61 73 69 65 |ramming |is easie|
|000004d0| 72 20 74 6f 20 6c 65 61 | 72 6e 20 6f 6e 20 79 6f |r to lea|rn on yo|
|000004e0| 75 72 20 6f 77 6e 2e 20 | 20 0a 53 6f 20 69 66 20 |ur own. | .So if |
|000004f0| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 61 |you don'|t have a|
|00000500| 20 74 65 61 63 68 65 72 | 20 68 61 6e 64 79 2c 20 | teacher| handy, |
|00000510| 79 6f 75 27 6c 6c 20 70 | 72 6f 62 61 62 6c 79 20 |you'll p|robably |
|00000520| 68 61 76 65 20 61 20 68 | 61 72 64 65 72 20 0a 74 |have a h|arder .t|
|00000530| 69 6d 65 20 6c 65 61 72 | 6e 69 6e 67 20 4f 4f 20 |ime lear|ning OO |
|00000540| 28 77 68 69 63 68 20 61 | 6c 73 6f 20 6e 6f 74 20 |(which a|lso not |
|00000550| 6e 65 63 65 73 73 61 72 | 69 6c 79 20 62 61 64 20 |necessar|ily bad |
|00000560| 2d 2d 20 73 6f 6d 65 20 | 70 65 6f 70 6c 65 20 6c |-- some |people l|
|00000570| 69 6b 65 20 0a 63 68 61 | 6c 6c 65 6e 67 65 73 29 |ike .cha|llenges)|
|00000580| 2e 0a 0a 20 20 57 68 61 | 74 20 49 27 64 20 72 65 |... Wha|t I'd re|
|00000590| 63 6f 6d 6d 65 6e 64 20 | 69 73 20 74 68 61 74 20 |commend |is that |
|000005a0| 79 6f 75 20 73 70 65 6e | 64 20 61 62 6f 75 74 20 |you spen|d about |
|000005b0| 61 20 6d 6f 6e 74 68 20 | 70 6c 61 79 69 6e 67 20 |a month |playing |
|000005c0| 77 69 74 68 20 0a 62 6f | 74 68 20 6c 61 6e 67 75 |with .bo|th langu|
|000005d0| 61 67 65 73 20 61 6e 64 | 20 74 68 65 6e 20 64 65 |ages and| then de|
|000005e0| 63 69 64 65 20 77 68 69 | 63 68 20 6f 6e 65 20 79 |cide whi|ch one y|
|000005f0| 6f 75 20 6c 69 6b 65 20 | 6d 6f 72 65 2e 20 20 43 |ou like |more. C|
|00000600| 2b 2b 2c 20 75 73 65 64 | 20 61 73 20 0a 22 61 20 |++, used| as ."a |
|00000610| 62 65 74 74 65 72 20 43 | 2c 22 20 6c 65 74 73 20 |better C|," lets |
|00000620| 79 6f 75 20 64 6f 20 61 | 6c 6c 20 73 6f 72 74 73 |you do a|ll sorts|
|00000630| 20 6f 66 20 63 6f 6f 6c | 20 73 74 75 66 66 20 6c | of cool| stuff l|
|00000640| 69 6b 65 20 6f 70 65 72 | 61 74 6f 72 20 0a 6f 76 |ike oper|ator .ov|
|00000650| 65 72 6c 6f 61 64 69 6e | 67 20 61 6e 64 20 64 65 |erloadin|g and de|
|00000660| 66 61 75 6c 74 20 70 61 | 72 61 6d 65 74 65 72 73 |fault pa|rameters|
|00000670| 20 74 68 61 74 20 79 6f | 75 20 63 61 6e 27 74 20 | that yo|u can't |
|00000680| 64 6f 20 69 6e 20 43 2e | 20 20 54 68 61 74 27 73 |do in C.| That's|
|00000690| 20 0a 77 69 74 68 6f 75 | 74 20 65 76 65 6e 20 67 | .withou|t even g|
|000006a0| 65 74 74 69 6e 67 20 69 | 6e 74 6f 20 74 68 65 20 |etting i|nto the |
|000006b0| 4f 4f 20 70 61 72 74 2e | 0a 0a 20 20 49 27 64 20 |OO part.|.. I'd |
|000006c0| 61 6c 73 6f 20 72 65 63 | 6f 6d 6d 65 6e 64 20 74 |also rec|ommend t|
|000006d0| 68 61 74 20 61 66 74 65 | 72 20 79 6f 75 27 72 65 |hat afte|r you're|
|000006e0| 20 63 6f 6d 66 6f 72 74 | 61 62 6c 65 20 77 69 74 | comfort|able wit|
|000006f0| 68 20 43 20 6f 72 20 43 | 2b 2b 2c 20 79 6f 75 20 |h C or C|++, you |
|00000700| 0a 63 68 65 63 6b 20 6f | 75 74 20 6f 74 68 65 72 |.check o|ut other|
|00000710| 20 6c 61 6e 67 75 61 67 | 65 73 20 28 4c 49 53 50 | languag|es (LISP|
|00000720| 2c 20 61 77 6b 2c 20 61 | 73 73 65 6d 62 6c 65 72 |, awk, a|ssembler|
|00000730| 2c 20 53 51 4c 2c 20 65 | 74 63 29 2e 20 20 45 61 |, SQL, e|tc). Ea|
|00000740| 63 68 20 0a 6c 61 6e 67 | 75 61 67 65 20 77 69 6c |ch .lang|uage wil|
|00000750| 6c 20 67 69 76 65 20 79 | 6f 75 20 61 20 64 69 66 |l give y|ou a dif|
|00000760| 66 65 72 65 6e 74 20 73 | 65 74 20 6f 66 20 22 62 |ferent s|et of "b|
|00000770| 61 73 69 63 20 63 6f 6e | 63 65 70 74 73 2e 22 20 |asic con|cepts." |
|00000780| 20 46 6f 72 20 0a 65 78 | 61 6d 70 6c 65 2c 20 69 | For .ex|ample, i|
|00000790| 6e 20 43 2c 20 69 6d 70 | 6c 65 6d 65 6e 74 69 6e |n C, imp|lementin|
|000007a0| 67 20 61 6e 20 61 73 73 | 6f 63 69 61 74 69 76 65 |g an ass|ociative|
|000007b0| 20 61 72 72 61 79 20 69 | 73 20 6e 6f 74 20 73 69 | array i|s not si|
|000007c0| 6d 70 6c 65 2c 20 73 6f | 20 0a 79 6f 75 27 6c 6c |mple, so| .you'll|
|000007d0| 20 74 65 6e 64 20 74 6f | 20 6e 6f 74 20 65 76 65 | tend to| not eve|
|000007e0| 6e 20 74 68 69 6e 6b 20 | 6f 66 20 73 6f 6c 75 74 |n think |of solut|
|000007f0| 69 6f 6e 73 20 74 68 61 | 74 20 77 6f 75 6c 64 20 |ions tha|t would |
|00000800| 72 65 71 75 69 72 65 65 | 20 61 6e 20 0a 61 73 73 |requiree| an .ass|
|00000810| 6f 63 69 61 74 69 76 65 | 20 61 72 72 61 79 2e 20 |ociative| array. |
|00000820| 20 42 75 74 20 69 66 20 | 79 6f 75 27 72 65 20 75 | But if |you're u|
|00000830| 73 69 6e 67 20 61 77 6b | 2c 20 79 6f 75 20 73 74 |sing awk|, you st|
|00000840| 61 72 74 20 73 65 65 69 | 6e 67 20 0a 61 73 73 6f |art seei|ng .asso|
|00000850| 63 69 61 74 69 76 65 20 | 61 72 72 61 79 73 20 65 |ciative |arrays e|
|00000860| 76 65 72 79 77 68 65 72 | 65 2e 0a 0a 4b 69 6d 62 |verywher|e...Kimb|
|00000870| 65 72 6c 65 79 0a 0a | |erley.. | |
+--------+-------------------------+-------------------------+--------+--------+